package com.xo.common.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(description = "根据productId查询商品信息返回对象")
public class ProductInfoByProductIdVo {

    @Schema(description = "商品ID")
    private Integer id; // 商品id

    @Schema(description = "商品名称")
    private String productName; // 商品名称

    @Schema(description = "商品图片")
    private String productPic; // 商品图片

    @Schema(description = "商品价格")
    private BigDecimal productPrice; // 商品价格

    @Schema(description = "品牌ID")
    private Integer brandId; // 品牌id

    @Schema(description = "分类ID")
    private Integer categoryId; // 分类id

    @Schema(description = "商品编码（69码）")
    private String productSn; // 商品编码

    @Schema(description = "排序，值越大越靠前")
    private Integer sortOrder; // 排序

    @Schema(description = "创建时间")
    private LocalDateTime createTime; // 创建时间

    @Schema(description = "修改时间")
    private LocalDateTime updateTime; // 修改时间

}
